package kr.saeildamil.androidstudy.ch14;

import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class Ch14Main extends Activity {
	static final String TAG="Ch14Main";
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch14_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		Log.d(TAG, "mOnClick");
		switch(v.getId()){
		case R.id.ch14_soundtest_btn:
			intent.setClass(this, SoundEditTest.class);
			break;
		case R.id.ch14_attribute:
			intent.setClass(this, AttributeTest.class);
			break;
		case R.id.ch14_soundedittest2:
			intent.setClass(this, SoundEditTest2.class);
			break;
		}
		startActivity(intent);
	}
}
